package com.skynet.supervision.entities.base;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Builder;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
public class BaseEntity implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;


    @TableField(value = "create_time",fill = FieldFill.INSERT)
    Long createTime;


    @TableField("create_user")
    String createUser;

    @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE)
    Long updateTime;


    @TableField("update_user")
    String updateUser;



    @TableField("sys_node_code")
    String sysNodeCode = "999";
}
